package com.fary.annotation;

import com.fary.clazz.Config;
import org.springframework.core.annotation.AnnotatedElementUtils;
import org.springframework.core.annotation.AnnotationUtils;

import java.lang.annotation.Annotation;
import java.util.Set;

/**
 * @author Fary
 * @version 1.0
 * @description: TODO
 * @date 2021/11/12 15:33
 */
public class TestAnnotation {
    public static void main(String[] args) {
        for (Annotation ann : ConfigTest.class.getAnnotations()) {
            AnnotationUtils.validateAnnotation(ann);
        }
        System.out.println();


    }
}
